/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.indosystem.client.frameutils;

import java.util.Arrays;
import ru.indosystem.client.frameutils.comparator.SortedByDate;
import ru.indosystem.client.frameutils.comparator.SortedByFio;
import ru.infosystem.client.data.Student;

/**
 *
 * @author DukeKan
 */
public class Sorting {

    
    
    public static void sortStudentsByFio(Student[] arr) {
        Arrays.sort(arr, new SortedByFio());
    }
    
    public static void sortStudentsByDate(Student[] arr) {
        Arrays.sort(arr, new SortedByDate());
    }
    
    
}
